<h1>Login</h1>
<h3>Use <strong>admin:123456</strong> for login</h3>
<hr/>
<article>
<?php echo $this->form; ?>

<p class="small">
    <a href="<?php echo $this->url(array('module' => 'users',
                                         'controller'=>'register',
                                         'action'=>'index'),
                                   'default'); ?>"><?php echo $this->__('Register now')?></a> |
    <a href="<?php echo $this->url(array('module' => 'users',
                                         'controller'=>'register',
                                         'action'=>'forget-password'),
                                   'forgetPassword'); ?>"><?php echo $this->__('Forget Password')?></a>

    <?php if ($this->google):?>        |
        <a href="<?php echo $this->url(array('module' => 'users', 'controller' => 'login', 'action' => 'oauth', 'type' => 'google'), 'default');?>">
            <?php echo $this->__('Sign in with Google')?>
        </a>
    <?php endif;?>

    <?php if ($this->twitter):?>        |
        <a href="<?php echo $this->url(array('module' => 'users', 'controller' => 'login', 'action' => 'oauth', 'type' => 'twitter'), 'default');?>">
            <?php echo $this->__('Sign in with Twitter')?>
        </a>
    <?php endif;?>

    <?php if ($this->facebook):?>        |
        <?php echo $this->fbConnect()->login(
            $this->__('Login with Facebook'),
            array('email', 'user_checkins'),
            $this->url(array('module' => 'users', 'controller' => 'login', 'action' => 'oauth', 'type' => 'facebook'), 'default')
        );?>
    <?php endif;?>
</p>
</article>
